package exercise;

import java.util.Scanner;

public class EX01_Q24 {

	
	public static void main(String[] args) {
		
		Scanner sc = new Scanner (System.in);
		System.out.println( "출력할 단을 입력하세요" );
		int num = sc.nextInt();  
		
		int i = 1;
		int gugu = 0;
		while (i <= 9) {
			gugu = num * i;  	
		 System.out.println( num + "*" + i + "=" +gugu );
		 ++i;
		}
		 
		
	}

}
